﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Discuss.aspx.cs" Inherits="WebApp.Discuss" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>南湖外卖 - 讨论区</title>
    <link href="Styles/app.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/app.js" type="text/javascript"></script>
    <style type="text/css" >
       ul
       {
             float:left;
              
           }
     
    </style>
</head>
<body>
    <form id="form1" runat="server" style="text-align: center;">
    <div class="pageHead"><a href="Index.aspx" >菜谱</a>&nbsp;
         <a href="../PermissionCenterServices/Account/SignInPage.aspx">
            登录</a> &nbsp; <a href="../PermissionCenterServices/Account/RegiseterPage.aspx">
                注册</a> &nbsp;
    </div>
    <div id="divTab" class="mainMenu">
        <a hidefocus="true"  href="Index.aspx">菜&nbsp;&nbsp;&nbsp;谱</a> <a
            hidefocus="true" href="MyOrder.aspx">我的订单</a>
        <a hidefocus="true" href="RecommendToday.aspx">今日推荐</a>
        <a hidefocus="true" class="mainMenu_a_active"  href="Discuss.aspx"">讨论区</a>
        <div class="mainMenu_div_splitline">
        </div>
    </div>
    <div class="pageContent">
    <div class="discuss_operation" ><input id="btn_add" class="discuss_addbtn" type="button" value="发 帖"  /></div>

    <div class="divStartup" style="display:none">
      <textarea id="txtDiscuss"  class="discuss_startup_txt" runat="server" /><br />
    </div>
    <div id="div_discuss_startup" class="discuss_operation" style="display:none">
    <input type="button" id="btnDiscuss" class="discuss_startup_btn" value="提 交" onclick="onclick_startup();" /> 
    </div>



     <div class="divDiscuss_item">
         <span class="divDiscuss_number">1</span>
         <div class="divDiscuss_content"> <span>很好吃的说！！！！</span><span class="divDiscuss_product">青辣椒肉丝 + 肉末豆腐 + 馒头</span></div></div>


     <div class="divDiscuss_item"><span class="divDiscuss_number">2</span><span></span>
     </div>
    </div>
     <div class="pageFooter">
        <p> <a href="AboutUs.aspx">关于南湖外卖</a> <a href="ShopRegister.aspx">加入我们</a><a href="ContactUs.aspx">联系我们</a><a href="Help.aspx">帮助</a></p>
        <p>© 2012-2013 南湖外卖 京ICP备13031298号  京公网安备11010802012179</p>

    </div>
    <script type="text/javascript">
        $(window).ready(function () {
            $("#btn_add").toggle(function () {

                $(".divStartup").css("display", "block");
                $("#div_discuss_startup").css("display", "block");
                event.srcElement.value = "取消";
            }, function () {
                $(".divStartup").css("display", "none");
                $("#div_discuss_startup").css("display", "none");
                event.srcElement.value = "发帖";
            });
        }
        );
        
          function onclick_startup()
          { }

          
          function onclick_add() {
              $(".divStartup").css("display", "block");
              $("#div_discuss_startup").css("display", "block");
          }
    </script>
    </form>
</body>
</html>